#include "Heap.h"

int main()
{
	PJY::Heap<int> Heap;
	std::cout << Heap.empty() << std::endl;
	std::cout << Heap.capacity() << std::endl;
	//
	//Heap.push(9);
	//Heap.push(3);
	//Heap.push(6);
	//Heap.push(2);
	//Heap.push(8);
	//Heap.push(1);

	int array[] = { 1,2,3,4,5,6,7,8,9 };
	Heap.creatHeap(array, sizeof(array) / sizeof(array[0]));
	Heap.printfHeap();
	
	/*Heap.pop();
	std::cout << Heap.top() << std::endl;
	*/
	std::cout << Heap.top() << std::endl;

	/*Heap.pop();
	std::cout << Heap.top() << std::endl;*/
	
	/*Heap.pop();
	std::cout << Heap.top() << std::endl;*/



	/*std::cout << Heap.size() << std::endl;
	std::cout << Heap.top() << std::endl;
	std::cout << Heap.empty() << std::endl;*/

	return 0;
}








